<template>
	<div>
		int
			<form>
			<div>
				<label for="">节点名称</label>
				<input type="text" v-model="data.name">
			</div>
			<div>
				<label for="">节点类型</label>
				<input type="text" v-model="data.type">
			</div>
		</form>
	</div>
		
	
</template>

<script>
	export default {
		data() {
			return {
				formItem:this.data
			};
		},
		props:{
			data: {
			    type: Object
			},
		},
		mounted() {
			const that = this;
			setTimeout(function(){
				console.log(that.formItem);
				console.log(that.$props.data);
			},2000)
		}
	}
</script>

<style>

</style>
